<?php

/* * ************************************************************************* 
 * index.php
 * Encoding : UTF-8
 * Desc. :Index控制器
 * Created on : 2013-4-23 10:45:07 by Aiden , aiden.ke@doosnet.net
 * Updated on : 2013-4-23 10:45:07 by Aiden , aiden.ke@doosnet.net
 * ************************************************************************* */
defined('IN_SPIDER') or exit('No permission resources.');

class index {

    private $db;

    function __construct() {
        pc_base::load_app_func('global');
        $this->db = pc_base::load_model('content_model');
    }

    //首页
    public function init() {
        var_export($this->db->get_one());
//        $data = array(
//            'books_name' => '5',
//            'books_category' => '书本分类',
//            'books_price' => '书本价格',
//            'books_stock' => '库存',
//            'books_info' => '书本信息',
//            'books_author' => '书本作者',
//        );
//        $this->db->insert($data);
//        include template('content', 'index');
    }

}

?>